package com.xbongbong.admin.domain.entity;

import com.xbongbong.paas.toolbox.wrap.Entity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 镜像表单字段配置
 * @author xingxing.xiao
 * @date 2020/01/09 16:04
 */
@Getter
@Setter
@ToString
public class MirrorFormExplainEntity extends Entity {
    private static final long serialVersionUID = -7573810742530483810L;
    /**
     * 主键
     */
    private Long id;
    /**
     * 镜像id
     */
    private Long mirrorId;
    /**
     * 镜像应用id
     */
    private Long mirrorAppId;
    /**
     * 镜像菜单id
     */
    private Long mirrorMenuId;
    /**
     * 镜像表单id
     */
    private Long mirrorFormId;
    /**
     * 来源应用id
     */
    private Long sourceAppId;
    /**
     * 来源菜单id
     */
    private Long sourceMenuId;
    /**
     * 来源表单id
     */
    private Long sourceFormId;
    /**
     * 来源表单解释id
     */
    private Long sourceFormExplainId;
    /**
     * 是否启用 1启用 0不启用
     */
    private Integer enable;
    /**
     * 标记 1：saas；2：paas
     */
    private Integer saasMark;
    /**
     * saas业务类型
     */
    private Integer businessType;
    /**
     * 表单字段解释主体
     */
    private String explains;
    /**
     * 创建者id
     */
    private String creatorId;
    /**
     * 创建时间时间戳
     */
    private Long addTime;
    /**
     * 更新时间时间戳
     */
    private Long updateTime;
    /**
     * 删除标记
     */
    private Integer del;
    /**
     * 经销商标识
     */
    private Integer distributorMark;

    public MirrorFormExplainEntity() {
    }

    public MirrorFormExplainEntity(Long mirrorId, Long mirrorAppId, Long mirrorMenuId, Long mirrorFormId, Long sourceAppId, Long sourceMenuId, Long sourceFormId, Long sourceFormExplainId, Integer enable, Integer saasMark, Integer businessType, String explains, String creatorId, Long addTime, Long updateTime, Integer del, Integer distributorMark) {
        this.mirrorId = mirrorId;
        this.mirrorAppId = mirrorAppId;
        this.mirrorMenuId = mirrorMenuId;
        this.mirrorFormId = mirrorFormId;
        this.sourceAppId = sourceAppId;
        this.sourceMenuId = sourceMenuId;
        this.sourceFormId = sourceFormId;
        this.sourceFormExplainId = sourceFormExplainId;
        this.enable = enable;
        this.saasMark = saasMark;
        this.businessType = businessType;
        this.explains = explains;
        this.creatorId = creatorId;
        this.addTime = addTime;
        this.updateTime = updateTime;
        this.del = del;
        this.distributorMark = distributorMark;
    }
}
